Create string column that goes up a value everytime the condition is met

welcome to shbcf.ru